package com.ljh.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 专辑封面图标
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Collection {
    private Integer collId;
    private String singerName;
    private String collName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date collDate;
    private String collPhoto;
}
